package com.qxl.forest.common.constants;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @Author: qiuxinlin
 * @Dercription: 请求参数包装类
 * @Date: 14:29 2017/12/6
 */
@Component
public class RequestParams implements Serializable {
    private static final long serialVersionUID = 4802702331749057165L;
    /**
     * user
     */
    private String account;
    private String name;
    private String beginTime;
    private String endTime;
    private String roleid;
    private Integer deptid;

    /**
     * role
     */
    //给角色配置权限时所需的菜单Ids
    private String r_menuIds;
    private Integer r_roleId;

    /**
     * 修改密码
     */
    private String oldPassword;
    private String newPassword;
    private String rePassword;

    /**
     * 分页查询
     */
    private int pageNumber;
    private int pageSize;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getRePassword() {
        return rePassword;
    }

    public void setRePassword(String rePassword) {
        this.rePassword = rePassword;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getR_menuIds() {
        return r_menuIds;
    }

    public void setR_menuIds(String r_menuIds) {
        this.r_menuIds = r_menuIds;
    }

    public Integer getR_roleId() {
        return r_roleId;
    }

    public void setR_roleId(Integer r_roleId) {
        this.r_roleId = r_roleId;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
